package com.company.structural.braidge_pattern.client;

import com.company.structural.braidge_pattern.abstraction.Image;
import com.company.structural.braidge_pattern.concrete_implementor.WindowsImpl;
import com.company.structural.braidge_pattern.implementor.ImageImp;
import com.company.structural.braidge_pattern.refined_abstraction.JPGImage;

/**
 * @ClassName Client
 * @Author tiezheng.han
 * @Date 2020/8/31 14:09
 **/
public class Client {
    public static void main(String[] args) {
        Image image;
        ImageImp imageImp;
        image = new JPGImage();
        imageImp = new WindowsImpl();
        image.setImp(imageImp);
        image.parseFile("小龙女");
    }
}
